package cn.com.twoke.application.game.mario.core.ecs.level;
import cn.com.twoke.application.game.mario.game.entity.EntityBuilderFactory;
import cn.com.twoke.application.game.mario.game.scene.SceneManager;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public abstract class AbstractLevel implements Level {

    protected LevelManager levelManager;
    protected SceneManager sceneManager;
    protected EntityBuilderFactory entityBuilderFactory;

    @Override
    public void next(String levelName) {
        this.levelManager.checkin(levelName);
    }

}
